import request from '@/router/axios';

// 分页列表
export const getList = (current, size, params) => {
  return request({
    url: '/api/riskPoint/riskcontrol/inventory',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

// 获取所属部门
export const getDeptList = (tenantId) => { 
  return request({
    url: '/api/blade-system/dept/tree',
    method: 'get',
    params: {
      tenantId
    }
  })
}